package com.chang.aop;

public class TestCal {
    public static void main(String[] args) {
        // 创建动态代理对象
        ProxyFactory factory = new ProxyFactory(new CalculatorImpl());
        Calculator proxy = (Calculator) factory.getProxy();
        proxy.add(1,3);
    }
}
